package com.briup.estore.common.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author adam
 * @date 2022/11/25
 * 访问数据
 */
@Data
@Entity
@Table(name = "t_accessing_data")
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "用户的访问数据按天统计")
public class AccessingData {
    @Id
    @ApiModelProperty("日期")
    private String date;

    @ApiModelProperty("浏览量")
    private Integer pv;

    @ApiModelProperty("访客数")
    private Integer uv;

    private Integer vv;

    private Double br;

    @ApiModelProperty("新增ip数")
    private Integer newIp;

    @ApiModelProperty("新增访客数")
    private Integer newCust;

    @ApiModelProperty("平均时长")
    private Double avgTime;
    @ApiModelProperty("平均深度")
    private Double avgDeep;

    private String reportTime;


}
